# 定义了三个变量，分别创建了不同范围的range对象，并使用循环打印出每个对象中的元素
a = range(10)
print(a)
for i in a:
    print(i)

b = range(2, 8)
print(b)
for i in b:
    print(i)

c = range(1, 10, 2)
print(c)
for i in c:
    print(i)

d = range(10, 0)
print(d)
for i in d:
    print(i)

e = range(10, 1,-2)
print(e)
for i in e:
    print(i)
